cmake_minimum_required(VERSION 3.12)

set(CMAKE_CURRENT_SOURCE_DIR 
    ${CMAKE_SOURCE_DIR}/src/Model
)

set(MODEL_INC
    ${CMAKE_CURRENT_SOURCE_DIR}/IMeshLoader.hpp    
    ${CMAKE_CURRENT_SOURCE_DIR}/ObjMeshLoader.hpp
    ${CMAKE_CURRENT_SOURCE_DIR}/MeshStructure.hpp
    ${CMAKE_CURRENT_SOURCE_DIR}/VertexStructure.hpp
    ${CMAKE_CURRENT_SOURCE_DIR}/FormatSpecify.hpp
    ${CMAKE_CURRENT_SOURCE_DIR}/MeshBuffer.hpp
)

set(MODEL_SRC
    ${CMAKE_CURRENT_SOURCE_DIR}/MeshStructure.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/MeshLoaderImp.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/MeshBuffer.cpp
)